<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FabGL: NoiseWaveformGenerator Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">FabGL
   </div>
   <div id="projectbrief">ESP32 Display Controller and Graphics Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classfabgl_1_1_noise_waveform_generator.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classfabgl_1_1_noise_waveform_generator-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">NoiseWaveformGenerator Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Noise generator.  
 <a href="classfabgl_1_1_noise_waveform_generator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="soundgen_8h_source.html">soundgen.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for NoiseWaveformGenerator:</div>
<div class="dyncontent">
<div class="center"><img src="classfabgl_1_1_noise_waveform_generator__inherit__graph.png" border="0" usemap="#a_noise_waveform_generator_inherit__map" alt="Inheritance graph"/></div>
<map name="a_noise_waveform_generator_inherit__map" id="a_noise_waveform_generator_inherit__map">
<area shape="rect" title="Noise generator." alt="" coords="5,80,177,107"/>
<area shape="rect" href="classfabgl_1_1_waveform_generator.html" title="Base abstract class for waveform generators. A waveform generator can be seen as an audio channel tha..." alt="" coords="22,5,161,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a996f2f6c960641738fc46d3f39f6ef6f"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_a996f2f6c960641738fc46d3f39f6ef6f.html#a996f2f6c960641738fc46d3f39f6ef6f">duration</a> ()</td></tr>
<tr class="memdesc:a996f2f6c960641738fc46d3f39f6ef6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns number of remaining samples to play.  <a href="classfabgl_1_1_waveform_generator_a996f2f6c960641738fc46d3f39f6ef6f.html#a996f2f6c960641738fc46d3f39f6ef6f">More...</a><br /></td></tr>
<tr class="separator:a996f2f6c960641738fc46d3f39f6ef6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d003299b7939c5c2a6fd8cee4fe7504"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_a4d003299b7939c5c2a6fd8cee4fe7504.html#a4d003299b7939c5c2a6fd8cee4fe7504">enable</a> (bool value)</td></tr>
<tr class="memdesc:a4d003299b7939c5c2a6fd8cee4fe7504"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disabled this generator.  <a href="classfabgl_1_1_waveform_generator_a4d003299b7939c5c2a6fd8cee4fe7504.html#a4d003299b7939c5c2a6fd8cee4fe7504">More...</a><br /></td></tr>
<tr class="separator:a4d003299b7939c5c2a6fd8cee4fe7504"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acafb7271189f6d844921794d61cd608a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_acafb7271189f6d844921794d61cd608a.html#acafb7271189f6d844921794d61cd608a">enabled</a> ()</td></tr>
<tr class="memdesc:acafb7271189f6d844921794d61cd608a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether this generator is enabled or disabled.  <a href="classfabgl_1_1_waveform_generator_acafb7271189f6d844921794d61cd608a.html#acafb7271189f6d844921794d61cd608a">More...</a><br /></td></tr>
<tr class="separator:acafb7271189f6d844921794d61cd608a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52c1060c5ab1219386569f2cc39991b9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_noise_waveform_generator_a52c1060c5ab1219386569f2cc39991b9.html#a52c1060c5ab1219386569f2cc39991b9">getSample</a> ()</td></tr>
<tr class="memdesc:a52c1060c5ab1219386569f2cc39991b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets next sample.  <a href="classfabgl_1_1_noise_waveform_generator_a52c1060c5ab1219386569f2cc39991b9.html#a52c1060c5ab1219386569f2cc39991b9">More...</a><br /></td></tr>
<tr class="separator:a52c1060c5ab1219386569f2cc39991b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc395029362d9990b5dad44dfafe9d63"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_abc395029362d9990b5dad44dfafe9d63.html#abc395029362d9990b5dad44dfafe9d63">sampleRate</a> ()</td></tr>
<tr class="memdesc:abc395029362d9990b5dad44dfafe9d63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the sample rate.  <a href="classfabgl_1_1_waveform_generator_abc395029362d9990b5dad44dfafe9d63.html#abc395029362d9990b5dad44dfafe9d63">More...</a><br /></td></tr>
<tr class="separator:abc395029362d9990b5dad44dfafe9d63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2670d55a6f6725717133799223effc61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_a2670d55a6f6725717133799223effc61.html#a2670d55a6f6725717133799223effc61">setAutoDestroy</a> (bool value)</td></tr>
<tr class="memdesc:a2670d55a6f6725717133799223effc61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets autodestroy mode.  <a href="classfabgl_1_1_waveform_generator_a2670d55a6f6725717133799223effc61.html#a2670d55a6f6725717133799223effc61">More...</a><br /></td></tr>
<tr class="separator:a2670d55a6f6725717133799223effc61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace43e846a26854aa34091e3eabd07f24"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_ace43e846a26854aa34091e3eabd07f24.html#ace43e846a26854aa34091e3eabd07f24">setAutoDetach</a> (bool value)</td></tr>
<tr class="memdesc:ace43e846a26854aa34091e3eabd07f24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets autodetach mode.  <a href="classfabgl_1_1_waveform_generator_ace43e846a26854aa34091e3eabd07f24.html#ace43e846a26854aa34091e3eabd07f24">More...</a><br /></td></tr>
<tr class="separator:ace43e846a26854aa34091e3eabd07f24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae62a0a75472fde81f63cd0f9d9288c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_aae62a0a75472fde81f63cd0f9d9288c2.html#aae62a0a75472fde81f63cd0f9d9288c2">setDuration</a> (uint32_t value)</td></tr>
<tr class="memdesc:aae62a0a75472fde81f63cd0f9d9288c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets number of samples to play.  <a href="classfabgl_1_1_waveform_generator_aae62a0a75472fde81f63cd0f9d9288c2.html#aae62a0a75472fde81f63cd0f9d9288c2">More...</a><br /></td></tr>
<tr class="separator:aae62a0a75472fde81f63cd0f9d9288c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b5c30c147988a4bef2b08394984079d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_noise_waveform_generator_a5b5c30c147988a4bef2b08394984079d.html#a5b5c30c147988a4bef2b08394984079d">setFrequency</a> (int value)</td></tr>
<tr class="memdesc:a5b5c30c147988a4bef2b08394984079d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets output frequency.  <a href="classfabgl_1_1_noise_waveform_generator_a5b5c30c147988a4bef2b08394984079d.html#a5b5c30c147988a4bef2b08394984079d">More...</a><br /></td></tr>
<tr class="separator:a5b5c30c147988a4bef2b08394984079d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85fa2eb2cf3e487be53c8b2625bdce69"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_a85fa2eb2cf3e487be53c8b2625bdce69.html#a85fa2eb2cf3e487be53c8b2625bdce69">setSampleRate</a> (int value)</td></tr>
<tr class="memdesc:a85fa2eb2cf3e487be53c8b2625bdce69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the sample rate.  <a href="classfabgl_1_1_waveform_generator_a85fa2eb2cf3e487be53c8b2625bdce69.html#a85fa2eb2cf3e487be53c8b2625bdce69">More...</a><br /></td></tr>
<tr class="separator:a85fa2eb2cf3e487be53c8b2625bdce69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77a669d4f95b8abf529a7d3183acb432"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_a77a669d4f95b8abf529a7d3183acb432.html#a77a669d4f95b8abf529a7d3183acb432">setVolume</a> (int value)</td></tr>
<tr class="memdesc:a77a669d4f95b8abf529a7d3183acb432"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets volume of this generator.  <a href="classfabgl_1_1_waveform_generator_a77a669d4f95b8abf529a7d3183acb432.html#a77a669d4f95b8abf529a7d3183acb432">More...</a><br /></td></tr>
<tr class="separator:a77a669d4f95b8abf529a7d3183acb432"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56fd55a21e8060769938c33ac16ee4f2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfabgl_1_1_waveform_generator_a56fd55a21e8060769938c33ac16ee4f2.html#a56fd55a21e8060769938c33ac16ee4f2">volume</a> ()</td></tr>
<tr class="memdesc:a56fd55a21e8060769938c33ac16ee4f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines current volume.  <a href="classfabgl_1_1_waveform_generator_a56fd55a21e8060769938c33ac16ee4f2.html#a56fd55a21e8060769938c33ac16ee4f2">More...</a><br /></td></tr>
<tr class="separator:a56fd55a21e8060769938c33ac16ee4f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Noise generator. </p>

<p class="definition">Definition at line <a class="el" href="soundgen_8h_source.html#l00262">262</a> of file <a class="el" href="soundgen_8h_source.html">soundgen.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="soundgen_8h_source.html">soundgen.h</a></li>
<li><a class="el" href="soundgen_8cpp_source.html">soundgen.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>fabgl</b></li><li class="navelem"><a class="el" href="classfabgl_1_1_noise_waveform_generator.html">NoiseWaveformGenerator</a></li>
    <li class="footer">Generated on Mon Aug 29 2022 13:52:06 for FabGL by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3 </li>
  </ul>
</div>
</body>
</html>
